
<%@ page language="java" import="java.util.*,com.ts.common.util.bean.*,com.ts.web.service.ICommonService,com.ts.common.util.BeanFactory" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %> 
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <base href="<%=basePath%>" />
    
    <title>工程案例</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    

	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

   <script type="text/javascript">
function check_form(f1){
  if(f1.title.value.length==0){
	  alert("标题不能为空"); 
	  return false;
  }return true;
}
</script>
  </head>
  
  <body>
<c:if test="${!empty message}">
  	<script type="text/javascript">
  		var msg="${message}";
  		alert(msg);
  	</script>
  	<c:remove var="message"/>
  </c:if>

<%
    ICommonService ic = (ICommonService) BeanFactory
			.getBean(BeanFactory.COMMONSERVICE);
 	List<Itemmm> list = null;
    list = ic.getItemmm();


 %>
 <form enctype="multipart/form-data"  method="post" action="<c:url value='/admin.do?method=updateCases_2OK'/>" name="f1" onSubmit="return check_form(f1)">
<div class="biaoti" style="clear:both;margin-top: 100px;margin-left: 50px;" >
<div class="biaoti" style="clear:both">显示图片：<input type="file" style="width:320px; height:20px;" value="" name="logo" id="logo"/></div><br/>  

    </div>
   <div style="margin-top:20px; margin-left:50px; width:300px; height:35px; background:#eae7e8"> 
    
      <input type="hidden" name="id" value="${cases.id }"/>
       <input type="submit" name="yulan" class="subtn" value="修改"  />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <input type="reset" name="tijiao" class="subtn" value="重置"  />
       </div>
  </form>   
  </body>
</html>
